/*
 * Copyright 2006 Mark Bakker <bakker.mark AT gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.google.gwt.vector.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Element;
import com.google.gwt.vector.client.impl.SVGImpl;

/**
 *
 */
public class SVG {
  private static SVGImpl impl;
  static {
    impl = (SVGImpl) GWT.create(SVGImpl.class);
  }

  public static Element createCircle() {
    return impl.createCircle();
  }

  public static Element createEclipse() {
    return impl.createEclipse();
  }

  public static Element createLine() {
    return impl.createLine();
  }

  public static Element createPolyline() {
    return impl.createPolyline();
  }

  public static Element createRectangle() {
    return impl.createRectangle();
  }

  public static Element createVectorGroup() {
    return impl.createVectorGroup();
  }

  public static void setAttributeNS(Element elem, String attr, String value) {
    impl.setAttributeNS(elem, attr, value);
  }

}
